package cn.maihe.elg.operation.repository.entity;

import cn.maihe.framework.starter.base.sql.BaseEntity;
import cn.maihe.framework.starter.base.sql.MapperInterface;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("t_permission_func")
@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@MapperInterface("cn.maihe.elg.operation.repository.mapper.PermissionFuncMapper")
public class PermissionFuncDO extends BaseEntity {
    /**
     * 权限id
     */
    @TableId(type = IdType.ID_WORKER)
    private Long permissionId;

    /**
     * 功能url
     */
    @TableId(type = IdType.ID_WORKER)
    private String funcUrl;
}
